/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package post;

import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 *
 * @author Harry
 */
public class Manager {

    public static void main(String[] args) {
        try {
            System.out.print("Please enter store name: ");
            InputStreamReader isr = new InputStreamReader(System.in);
            BufferedReader br = new BufferedReader(isr);
            String str = br.readLine();
            Store objStore = new Store(str, null);
            System.out.print("Please enter cashier's name: ");
            str = br.readLine();
            Cashier objCashier = new Cashier(str);

            //Start POST
            Post objPost = new Post(objStore, objCashier);             
            objPost.Start();
           

        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }
}
